/**
 * 漆水河 脚手架基础公开课
 * 2022/8/13 --- 2022/12/13
 * 有疑问可加QQ群: 809126489，后续会持续输出与大家一起成长
 */
package com.qishuihe.outbound.user;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("角色信息")
@Data
public class RoleDTO {
    @ApiModelProperty("ID")
    @JsonSerialize(using= ToStringSerializer.class)
    private Long id ;
    @ApiModelProperty("角色名" )
    private String name;
    @ApiModelProperty("角色编码")
    private String code;
}
